﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using I3.AgenteIA.Framework.Console;

namespace I3.AgenteIA.Apresentacao.Console
{
    public class ConsoleAdapter : IConsoleAdapter
    {

        public ConsoleAdapter()
        {
            //System.Console.BackgroundColor = ConsoleColor.DarkBlue;
            //System.Console.ForegroundColor = ConsoleColor.White;
            System.Console.Clear();
        }


        public void Escrever(string valor)
        {
            System.Console.Write(valor);
        }

        public string Ler()
        {
            System.Console.Write(">>> ");
            return System.Console.ReadLine();
        }

        public void Limpar()
        {
            System.Console.Clear();
        }


        public void QuebrarLinha(int tempo)
        {
            //System.Threading.Thread.Sleep(tempo);
            System.Console.WriteLine();
        }
    }
}
